<div ng-controller="applyOffLease" >
<div class="ngdialog-message">

<form class="form-horizontal" method="get" action="#">
<style>
.col-sm-2 {padding-left: 0;}
.col-sm-1 {width: 9.333333%;}
.ngdialog-close{display:none;}
.chargehead{
    color:#fff;
    background-color:#ff9a66;
}
 .ngdialog.ngdialog-theme-plain>div.ngdialog-content{
    padding:0;
}
.form-horizontal .form-group {
    margin-right: -15px;
    margin-left: 0px; 
}
</style>
    <div class="panel-body">
        <div class="form-group">
            <label class="control-label" >申请退租</label>
        </div>
        <br/>
        <div class="form-group">
            <label class="col-sm-3 control-label" >选择退租时间</label>
            <div ng-controller="TimeCtrl" class="col-sm-6">
                <div class="input-group w-md pull-left">
                  <input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="LeaseStartTime" is-open="openLeaseBeginDated" datepicker-options="dateOptions" ng-required="true" close-text="关闭" clear-text="清除" current-text="今天" />
                  <span class="input-group-btn">
                    <button type="button" class="btn btn-default" ng-click="openLeaseBeginDate($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                  </span>
                </div>
            </div>
        </div>
        <br/>
        <div class="ngdialog-buttons">
            <button type="button" class="ngdialog-button ngdialog-button-secondary" ng-click="closeThisDialog()">取消</button>
            <button type="button" class="ngdialog-button ngdialog-button-primary" style="background-color: #FF6138;" ng-click="modifySure()">确认</button>
        </div>
    </div>
</div>